//
//  LuanchView.swift
//  DocScaner
//
//  Created by liyahao on 2025/8/8.
//

import SwiftUI

struct LuanchView: View {
    @StateObject var vModel = LuanchVModel()
    var body: some View {
        Text("LuanchView")
    }
}

struct LuanchDetailView: View {
    let model: LuanchModel
    var body: some View {
        VStack {
            Image(model.icon)
                .resizable()
                .scaledToFit()
                .frame(width: 264, height: 231)
                .padding(.bottom, 60)
            VStack(alignment: .leading, spacing: 10) {
                Text(model.title)
                    .font(.title3.weight(.medium))
                    .foregroundStyle(Color(.black))
                    .padding(.horizontal, 10)
                Text(model.subtitle)
                    .font(.body)
                    .foregroundStyle(Color(.black))
                    .padding(.horizontal, 10)
            }
        }
    }
}

#Preview {
    LuanchView()
}
